<!DOCTYPE html>
<html lang="zh">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimal-ui">
<meta name="author" content="yinq">
<title>{$title}</title>
<link rel="shortcut icon" type="image/x-icon" href="/favicon.ico">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-touch-fullscreen" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="default">
{load href="/static/css/materialdesignicons.min.css,/static/css/bootstrap.min.css,/static/css/animate.min.css"}
{load href="/static/css/app.min.css,/index/css/site.min.css"}
{load href="/static/js/jquery.min.js" /}
</head>

<body>
<!--页面loading-->
<div id="lyear-preloader" class="loading">
  <div class="ctn-preloader">
    <div class="round_spinner">
      <div class="spinner"></div>
      <img src="/static/images/loading-logo.png" alt="">
    </div>
  </div>
</div>
<header class="navbar navbar-expand navbar-dark flex-column flex-md-row bd-navbar">
  <a class="navbar-brand mr-0 mr-md-2" href="/">
    <img src="{:get_file_path(config('app.site_setting.web_site_logo'))}" />
  </a>

  <div class="navbar-nav-scroll">
    <ul class="navbar-nav bd-navbar-nav flex-row">
      {volist name="nav_menu_list" id="menu"}
      {if condition="isset($menu['_child'])"}
      <li class="nav-item dropdown lyear-site-nav">
        <a class="nav-link dropdown-toggle" href="{$menu.url}" role="button">
          {$menu.title}
        </a>
        <div class="dropdown-menu">
          {volist name="menu['_child']" id="subMenu"}
          <a class="dropdown-item" href="{$subMenu.url}">{$subMenu.title}</a>
          {/volist}
        </div>
      </li>
      {else /}
      <li class="nav-item">
        <a class="nav-link" href="{$menu.url}">{$menu.title}</a>
      </li>
      {/if}
      {/volist}
    </ul>
  </div>

  {block name="search"}
  <div class="ml-md-auto">
    <form name="site-search" method="POST" action="{:url('/search')}">
    <input type="text" name="keywords" value="" placeholder="请输入您要搜索的关键词" class="form-control" />
    </form>
  </div>
  {/block}
</header>

{block name="body"}{/block}

<footer class="d-flex flex-wrap justify-content-between align-items-center py-3 my-4 border-top">
  <p class="col-md-4 mb-0">{:config('app.site_setting.web_site_copyright')}</p>

  <ul class="nav col-md-4 justify-content-end">
    <li class="nav-item"><a href="/" class="nav-link px-2">网站首页</a></li>
    <li class="nav-item"><a href="/aboutus.html" class="nav-link px-2">关于我们</a></li>
    <li class="nav-item"><a href="/statement.html" class="nav-link px-2">隐私声明</a></li>
    <li class="nav-item"><a href="/help.html" class="nav-link px-2">帮助中心</a></li>
    <li class="nav-item"><a href="/contactus.html" class="nav-link px-2">联系我们</a></li>
  </ul>
</footer>

{load href="/static/js/popper.min.js" /}
{load href="/static/js/bootstrap.min.js" /}
{load href="/static/js/app.min.js,/index/js/site.min.js"}
{block name="otherjs"}{/block}
</body>
</html>